package com.imc.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TbReadyNoteSend entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tb_ready_note_send", catalog = "imcdbserver")
public class TbReadyNoteSend implements java.io.Serializable {

	// Fields

	private long id;
	private String corpId;
	private String noteDepart;
	private String noteSender;
	private String noteRecmobile;
	private String noteContent;
	private String feeGiver;
	private short failorNum;
	private Integer type;

	// Constructors

	/** default constructor */
	public TbReadyNoteSend() {
	}

	/** minimal constructor */
	public TbReadyNoteSend(String corpId, String noteSender,
			String noteRecmobile, String noteContent, String feeGiver,
			short failorNum, Integer type) {
		this.corpId = corpId;
		this.noteSender = noteSender;
		this.noteRecmobile = noteRecmobile;
		this.noteContent = noteContent;
		this.feeGiver = feeGiver;
		this.failorNum = failorNum;
		this.type = type;
	}

	/** full constructor */
	public TbReadyNoteSend(String corpId, String noteDepart, String noteSender,
			String noteRecmobile, String noteContent, String feeGiver,
			short failorNum, Integer type) {
		this.corpId = corpId;
		this.noteDepart = noteDepart;
		this.noteSender = noteSender;
		this.noteRecmobile = noteRecmobile;
		this.noteContent = noteContent;
		this.feeGiver = feeGiver;
		this.failorNum = failorNum;
		this.type = type;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	@Column(name = "corp_id", nullable = false, length = 50)
	public String getCorpId() {
		return this.corpId;
	}

	public void setCorpId(String corpId) {
		this.corpId = corpId;
	}

	@Column(name = "note_depart", length = 100)
	public String getNoteDepart() {
		return this.noteDepart;
	}

	public void setNoteDepart(String noteDepart) {
		this.noteDepart = noteDepart;
	}

	@Column(name = "note_sender", nullable = false, length = 50)
	public String getNoteSender() {
		return this.noteSender;
	}

	public void setNoteSender(String noteSender) {
		this.noteSender = noteSender;
	}

	@Column(name = "note_recmobile", nullable = false, length = 11)
	public String getNoteRecmobile() {
		return this.noteRecmobile;
	}

	public void setNoteRecmobile(String noteRecmobile) {
		this.noteRecmobile = noteRecmobile;
	}

	@Column(name = "note_content", nullable = false, length = 200)
	public String getNoteContent() {
		return this.noteContent;
	}

	public void setNoteContent(String noteContent) {
		this.noteContent = noteContent;
	}

	@Column(name = "fee_giver", nullable = false, length = 30)
	public String getFeeGiver() {
		return this.feeGiver;
	}

	public void setFeeGiver(String feeGiver) {
		this.feeGiver = feeGiver;
	}

	@Column(name = "failor_num", nullable = false)
	public short getFailorNum() {
		return this.failorNum;
	}

	public void setFailorNum(short failorNum) {
		this.failorNum = failorNum;
	}

	@Column(name = "type", nullable = false)
	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

}